package com.xinyue.authorization.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.xinyue.authorization.service.RoleService;

@Controller
public class RoleController {
	@Autowired
	RoleService service;

	/**
	 * 
	 */
	@RequestMapping(value="role/save")
	public ModelAndView save(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("/page");
		return mv;
	}
	
	/**
	 * 
	 */
	@RequestMapping(value="role/update")
	public ModelAndView update(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("/page");
		return mv;
	}
	
	/**
	 * 
	 */
	@RequestMapping(value="role/delete")
	public ModelAndView delete(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("/page");
		return mv;
	}
	
	/**
	 * 
	 */
	@RequestMapping(value="role/queryAll")
	public ModelAndView queryAll(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("/page");
		return mv;
	}
}
